PKG_NAME = frei0r
PKG_VERS = 2.3.3
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/dyne/frei0r/archive/refs/tags
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/freetype cross/cairo

HOMEPAGE = https://frei0r.dyne.org/
COMMENT  = Frei0r is a minimalistic plugin API for video effects.
LICENSE  = GPL-2.0

REQUIRED_MIN_DSM = 7
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS) comcerto2k
REQUIRED_MIN_SRM = 1.3

CMAKE_USE_TOOLCHAIN_FILE = OFF

CMAKE_ARGS  = -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS += -DURIPARSER_BUILD_DOCS=OFF
CMAKE_ARGS += -DURIPARSER_BUILD_TESTS=OFF

include ../../mk/spksrc.cross-cmake.mk
